package com.prj.ufdm.jna;

import com.prj.ufdm.jna.inter.JnaTest;
import com.sun.jna.Native;


public class DllTest {
	
	 public static void main(String[] args) {
		 jnaTest(); 
	 }
	 
	 public static void jnaTest() {
		JnaTest jnaTest = (JnaTest) Native.load("com\\prj\\ufdm\\jna\\test_64", JnaTest.class);
		System.out.println("JNA 调用 DLL 计算结果："+jnaTest.add(1, 2));
	 }
}
